FROM node:12

LABEL maintainer=475218106@qq.om

WORKDIR /app

COPY . .

RUN yarn install --registry=https://registry.npm.taobao.org

RUN npm run build

EXPOSE 11010

VOLUME ["/app/public"]

CMD ["node", "dist/server.bundle.js"]
